ftpdir-cleanup.bats: Ensure we don't remove current debug package

The issue was that "repo-remove repo.tar.gz $pkgbase-debug" removes the
currently published debug package. We need to check if it's part of the
database or not before removing it.

Signed-off-by: Morten Linderud <morten@linderud.pw>
3 jobs for morten/fix-debug-cleanup in 14 minutes and 42 seconds (queued for 8 seconds)