take always proper revision which is deployed. Not from local head but from remote head