CFY-1431 added validations to packages links in manager blueprints; fixed code according to the new context API