Fix exception thrown instead of commit link in JSON response