Fix bower:install file resolver issue

- Thanks to suggestions from: https://github.com/bower/bower/pull/1403