Moved expansion of ja_files_dir after local env