update error check for get-valentiagroup when deploygroup was null or emplty or white space or could not resolve connection