Don't allow repo without baseurl or mirrorlist.  The previous way is used in RHEL7 and Fedora to specify local repositories that are disabled by anaconda by default (i.e. updates), but it is not supported in RHEL 5 or 6