dep_path function

A helper function to return a dependency path name