python: Use relative paths for registry.