I think, this is a typo. It should be extras_path

Otherwise, it crashes with a NameError

NameError: global name 'extra_paths' is not defined