[FIX] CLI: create tasks errors without path
Checks that path is a string