Added check for repo init server-side