fixed a bug with deps installed inside other dep directories