testcritic was failing due to a 'return undef' so this commit amends that
Test plan:
1) prove t/00-testcritic.t
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 640ce0bc6b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>