Fixed formatting bug on task having aliases.

Thanks @jthigpen for pointing it out.