This logic just got more complicated, now that we've opened this up to be a pl: or pe: task. For pl:, we also have to handle gem, dmg, and tar as well.