Query revision on remote repository

Same way like git deploy recipe does