Mock inspect_path to achieve further coverage in __init__.py