Shedding light on the Type Ia supernova extinction puzzle: dust location found