raco decompile: improve argument checking and reporting

Relevant to PR 14525