do not crash on unknown entity desired states

Signed-off-by: Jan Dvořák <mordae@anilinux.org>