action: fix printing of underflowed value in error message