Fix loadTask() method for latest version of Taskwarrior