fail at startup with no operating-system element

Raise an error if there is no element with “operating-system”
in the element-provides file.

Change-Id: I2242537abc4c610252984c32c286bc6eb25de672
Merge "fail at startup with no operating-system element"