Add resolveTag to resolveTreeish