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

I feel the `available_kickstart_repo` should probably be under `smart_proxies/:id/available_kickstart_repo` rather than `operatingsystems/:id/available_kickstart_repo` but it probably doesn't matter as this ajax call is transparent to the user.