allow get_image_refs.py to map images to units using mapping rules
This MR updates the get_image_refs.py script to accept a YAML file as input. The YAML file contains regex patterns used to associate specific images with units, helping to reduce the number of images within "image_with_unknown_unit".