bugfix: handling empty _linux_flavour variable

This is a follow-up bugfix for commit cb198d2909dd7a6eab062936daf02a7cc8bdc707
The STRING REGEX REPLACE produces an error if the _linux_flavour variable is empty, which happens if  lsb_release is not installed in the system