Git.pm: correctly handle directory name that evaluates to "false"