Avoid unnecessarily looking up StackageId in haddock unpacker