Check if a mains path does not exist before checking if file

Ran into an issue while concatenating sass-bootstrap, the last main file is really a directory with wildcard and does not resolve as a path.  

Example:
"sass-bootstrap": "~3.0.2" :
"main": ["./dist/js/bootstrap.js", "./dist/css/bootstrap.css", "./dist/fonts/*"],