The tag can be VOID and we don't want to return a null pointer in those cases. It manifests as failures on specific platforms, particularly ppc64/ppc64le. This is an unintended side effect of the refactoring done in 381a06ee. Fixes #605