Restricting schema regeneration to application and extra packages left
system and library metadata outside the pre-commit drift check.
The regression tests must exercise the repository unit-test path;
bats-core lifecycle hooks and result helpers are unavailable in that
runner and prevent the assertions from executing.
Fixescozystack/cozystack#4416
Assisted-by: LLM
Signed-off-by: frolov.so <opsmon.sh@yandex.com>