compiler/options: only check the last folder for a candidate (#12421)
compiler/options: only check the last folder for a candidate (#12421)

This prevents a nimble file from causing a different project to be
targeted instead of the desired one.
dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim