CFY-1798 fix ctx usage to retrieve blueprint id