Properly detect format in require