fix getting main files when bower.json doesn't define them