python: conditionally require paths.py be available