fixes #3772: a block is now optional when defining foreman plugins