commander: Fixed compile error and some stupidity in usage of path names