fixes #4516

template info error if no associated OS ids are present

http://projects.theforeman.org/issues/4516