Merge pull request #5852 from RosettaCommons/proleu/scores_dict_check add a safety check for scores dict parsing