Fix for recent Moo and perl 5.17
Fix use of undef