Read deployment task name from correct place

Fixes #91.