dependencyLookup: Looks up the real paths of aliased dependency names

Fixes #6