fix empty yaml when build selfhost