Fix Debian packages not shipping schema/upgrade.

Fixes #5915