GH370 delete git repository

#370 
use CorePlugin.getInstance().getRepository()