Backport mkdir_p path fix for Manifest