Fix emitting yaml with unparsable keys
Remove any reference to pkg(1) and replace them with pkg(8)

Reported by:	danfe
Fixes:		#626