[BUG #7246] Use default if os name or version is undefined