Fix kasp check check_path(), it was checking the stat structure for directory even if it stat'ed a non existing directory and it may return 0 because of that, now do the checks in the correct order.
Also add the status for checking the default WorkingDirectory in kasp check