Fix error determining module name in deb task.