Move entrypoint entry generation into its own function
Move entrypoint entry generation into its own function

matyasselmeci/htcondor-ce,brianhlin/htcondor-ce,opensciencegrid/htcondor-ce,matyasselmeci/htcondor-ce,matyasselmeci/htcondor-ce,opensciencegrid/htcondor-ce,brianhlin/htcondor-ce,brianhlin/htcondor-ce,opensciencegrid/htcondor-ce