MDL-47411 admin: Check if the plugin is a git submodule on uninstalling