Fix bug with signature checking.

Actually, due to this bug such repos were not functional at all.

Issue:	#813