Support different versions of sharelatex repos