osinfo: Also check if pretty hostname is empty
Right now the code just checks if the pretty hostname exists, not if it is empty. This fixes that.
Edited by Arjen Hiemstra
Right now the code just checks if the pretty hostname exists, not if it is empty. This fixes that.