Just check for `has('python3')` / `has('python')`. Fixes 72a2643f7c (r28922063).
72a2643f7c (r28922063)