anv: improve error reporting when creating pipelines