Fixes #7138,BZ1030537 - Prevent file repos being added to views
Merge pull request #4590 from daviddavis/temp/20140818120417

Fixes #7138,BZ1030537 - Prevent file repos being added to views