For path-relative dependencies, they always need to be added to the hash table at the end. For remote dependencies, they never need to be added.