Bug 858913 - [gallery] fix the typo of photodb.scan()