Migrated linux flavor detection to read from /etc/os-release