Remove dir_control('enter_dir') call from check_dir