You're right, it is handled right after alm_get_task. We could remove this entire conditional. But should we can play it safe and let it this redundancy be - to prevent misuse?