Fix perlcritic issues in autoaway.pl