fix to support custom kickstart distributions

reviewed this path with sherr. this will fix the media_path url for newly created custom distros but the existing custom distros will need to be corrected using cobbler cli