changing to has_command? and wrapping with responds too for puppet 3.x