Added Session._attempted_to_add_to_repository property.

The property will be used in tests.