os.path.relpath raises ValueError when file_path and base_dir are on
different Windows drive letters (e.g. model on M: but default folder on
C:). Iterate all registered folder paths for the model type and use the
first one that shares a drive with the file, falling back to filename-
only when no candidate matches.
Fixes: ValueError: path is on mount 'M:', start on mount 'C:'