Only check string environment variable values for spaces