add clear error message on non-conform sanity_check_paths