Fix bug when 'name/' and 'name.rb' both exist.