Lib.pm: fix inverted condition