Resolves Error when deleting repsository with PR.