For some reason it's not documented anywhere, though yaml is imported from two modules files. This change fixes tests as well. Approved by: portmgr blanket