So, I did some more digging, the problem came because a bad log file that contains the line:
DONE taper WARNING driver Taper protocol error This line caused Perl module Catalog.pm to die at line 764 because $str is empty and Perl cannot apply a regex replace on an empty string. After I removed that specific log file, amrecover runs fine. Next question is to know what that warning message means in the log, I can provide the faulty log file and other needed information. I can also file a bug tracker. Thank you Olivier --