Move the Python rpc dir into the conditional.