Handle possible trailing '/' in xcode-select output.  Patch by Jeff Olson.