fix : issue when file is removed from repo

please refer to screenshot below.