Add base code for rewriting remote jobrepository