fix handle_deps when no deps are to be fetched