[fix] alias logic

was having problems with `require('dep/file')`