DO NOT MERGE fixes #6565 - Only hide the media drop down if a valid kickstart url can be calculated without one

todo: functional test to be added for this controller action `available_kickstart_repo`