Extension misconception is corrected.

It will fail, if "require './test'" is tried to test.rb.
It happens in order to judge the 1st character to be ".".
It is correcting for being aimed at the last delimiter back.