Registered INI value not being used

I am trying to set the INI file option testpaths based off of command line input. I correctly parse the value out, and then set the value with config.addinivalue_line("testpaths",test_directory_path) but pytest collect all tests instead of the test directory I want.

Does any one have an idea of why this wouldn't be working?