Fix has_plugin? call