Added check for empty Taskfile
Fixed but with realpath