dist: make sophia_dir located inside instance directory