Gh394 git history review

#394 
use CorePlugin.getRepository