Do not load plugins that have their own git repositories, when executing tests
Refs #4828 Adding integration test replicating the SQL error