Fixes for checkout of tags.