Resolves error when deleting repsository with PR.