Try to set repository