Rewrite of test DEB package check script for /bin/sh
Move DEB package check script directly to repository bundle and run in on CI.