added workaround to avoid double rootflags entry (bnc #858853)