Redmine#2316: check abortclasses every time a new bundle frame is pushed

See https://cfengine.com/dev/issues/2316 for details.

I'm not sure if this is the right place for the check, but it seems to work for classes defined with `-D` and from common bundles, which didn't work before.

Acceptance tests and documentation will be provided if the fix is acceptable.