Allow use of the number 0 as a path placeholder value

This PR is for issue #113.

0 might be the only falsy value that will be used as a path placeholder value.

Tell me if something needs to be improved.