Gh372 configure remote

last character in pushRefSpecsString was a space and after pushRefSpecsString.split(" "), the last element in the array pushRefSpecs was an empty string, which had to be eliminated