Prevent Warning

These commits will prevent a warning in detectWebEnvironment when a $hots is not an array.