strip whitespace on environment names