Fixed render_old exit crash

Fixed the crash when freeing tile_dir when no map style file has been specified.