Fix filename disambiguation on scripts in certain occasions
Fix filename disambiguation on scripts in certain occasions

(cherry picked from commit ed488b72a64b14558b8367841a67fefbaa78ecf2)

ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot