None is passed for data_dir in the call above. I looked at the code that is being called, and it seems that data_directory is only used for XML modulestore (which Studio doesn't use). The code is in /edx-platform/common/djangoapps/static_replace/__init__.py