#2496 allow 002 as value for umask

https://cfengine.com/dev/issues/2496