added message when repository is inactive, and when no commits