cleanup: consistency between versions of dpkg and underlying script