This method is not really asserting as the name says.  To avoid confusion, may be this method can be renamed to get_os or fetch_os or something like that.