fetch: add support for the traditional FETCH_HEAD behavior