Avoid error on empty data after gsub (vmware monitorization)