Fixes #6134 - Discovered hosts prefix can be configured

@ares do you think this would be better as `next if facts[discovery_mac_fact_name].nil?` ?