[FIX] CLI: create tasks errors without path

Fixes #82. Checks that path is a string