Planner import: Try harder to get a task starttime
(cherry picked from commit 1fc68fdaff7d63037269b7dee02e8240bac0bdd8)