Update Spira.using_repository to ensure the repository restore

Signed-off-by: Aymeric Brisse <aymeric.brisse@perfect-memory.com>