[fix] Comparison for urls without extension always failed when 'force extensions' was set to false