Reference counting in init_pool error path
Favor project includes over local deps when building INCLUDE
Clear output collection in metadata::get
grammar in error messages
Merged code review changes