Remove spaces from Mac os.name which is not handled correctly by nexus