Better errors in package yaml