Fix getting tags in case they are not yet pulled