Add support for getting revision form remote repo