Check for empty os-release file, fixes #7885
Merge pull request #7887 from s0x/funtoo-gathering-facts

Check for empty os-release file, fixes #7885