server checks if repo exists in database before gathering repo info. fixed variable leak in commit getter