VersionControlException exception handling improved