fix check for taskwarrior installation

If you call task without arguments but have no active tasks, it will exit with
exit code 1 for some reason. Call task --version to verify that it is
installed instead.