Fix an issue with __all__ form errors

Switch to value rather than identity comparison to avoid issues with
unicode / bytestring comparison.

Fixes #6