builder: fix a situation where entrypoint was improperly set in stringform