make sure clear message is shown as to why extension sanity check fails + minor refactoring
Merge pull request #672 from boegel/sanity_check_msg_exts

make sure clear message is shown as to why extension sanity check fails