Removes deprecated (and non-working) has_variable? call 

The call was not working correctly and is marked as deprecated in the puppet documentation.
Instead one should check for the instance variable directly.