Directories named "0" are unintentionally removed from paths by the internal version of catfile in fcm_internal. This patch will fix the issue:
diff --git FCM/bin/fcm_internal
@@ -520,7 +520,7 @@ sub catfile {
my $path = shift @names;
for my $name (@names) {
- $path .= '/' . $name if $name;
+ $path .= '/' . $name if ($name or $name eq 0);
}
return $path;
when applied to line 537 of the latest version. But it isn't clear why fcm_internal needs local copies of the File::Spec routines at all? Why not use the supported versions which don't have this issue and are already being used in many other parts of the package?