** Fixed a bug which caused app to crash if user without access to
repository connected