fix(utils.py): get_folder_containing_names - adding anti-empty check