Add management command to fixup broken unit flags

Issue #600

Signed-off-by: Michal Čihař <michal@cihar.com>