Fix typo and only output alias info if it's set.