Copy in_reg and in_dyn when resolving NAME/VERSION with NAME/NULL.