[DO NOT REVIEW] Fixes #7138,BZ1030537 - Prevent file repos being added to views