Raise exception when path not found