Refactor read group platform validation
Clear error if MAF file is empty