Check for errors in script/mkdeb

Refs #2129