resolve deps error if require file and folder with the same name

see https://github.com/foxling/grunt-cmd-transport-bug