refs #6026 test for empty in case getenv returns false