The mapping for a placeholder path component gets discarded if the component's value
evaluates to false, as in the example cases given in the test file. I tried to sort it out but got
lost amid the source generation.