Minor refactor to use guard and replace instead of split+join
Minor refactor to use guard and replace instead of split+join

Signed-off-by: Daniel Nephin <6347c07ae509164cffebfb1e2a0d6ed64958db19@docker.com>

denverdino/docker.github.io,denverdino/compose,jzwlqx/denverdino.github.io,kojiromike/compose,londoncalling/docker.github.io,alexisbellido/docker.github.io,anweiss/docker.github.io,moxiegirl/compose,denverdino/compose,mdaue/compose,aduermael/docker.github.io,denverdino/denverdino.github.io,joaofnfernandes/docker.github.io,shubheksha/docker.github.io,rillig/docker.github.io,sanscontext/docker.github.io,aduermael/docker.github.io,schmunk42/compose,dbdd4us/compose,londoncalling/docker.github.io,BSWANG/denverdino.github.io,JimGalasyn/docker.github.io,anweiss/docker.github.io,johnstep/docker.github.io,docker-zh/docker.github.io,joeuo/docker.github.io,thaJeztah/docker.github.io,ChrisChinchilla/compose,jeanpralo/compose,danix800/docker.github.io,thaJeztah/docker.github.io,jonaseck2/compose,phiroict/docker,joeuo/docker.github.io,denverdino/docker.github.io,gdevillele/docker.github.io,jzwlqx/denverdino.github.io,BSWANG/denverdino.github.io,bdwill/docker.github.io,shin-/compose,shubheksha/docker.github.io,danix800/docker.github.io,tiry/compose,phiroict/docker,docker-zh/docker.github.io,JimGalasyn/docker.github.io,londoncalling/docker.github.io,joaofnfernandes/docker.github.io,LuisBosquez/docker.github.io,twitherspoon/compose,shin-/docker.github.io,phiroict/docker,phiroict/docker,sanscontext/docker.github.io,joaofnfernandes/docker.github.io,docker/docker.github.io,BSWANG/denverdino.github.io,thaJeztah/compose,gdevillele/docker.github.io,docker-zh/docker.github.io,denverdino/denverdino.github.io,funkyfuture/docker-compose,dnephin/compose,menglingwei/denverdino.github.io,shubheksha/docker.github.io,shin-/compose,denverdino/denverdino.github.io,anweiss/docker.github.io,vdemeester/compose,thaJeztah/docker.github.io,johnstep/docker.github.io,sanscontext/docker.github.io,menglingwei/denverdino.github.io,viranch/compose,anweiss/docker.github.io,docker/docker.github.io,docker/docker.github.io,denverdino/docker.github.io,sdurrheimer/compose,viranch/compose,gdevillele/docker.github.io,shin-/docker.github.io,menglingwei/denverdino.github.io,vdemeester/compose,alexandrev/compose,bdwill/docker.github.io,denverdino/docker.github.io,denverdino/denverdino.github.io,schmunk42/compose,johnstep/docker.github.io,tiry/compose,joaofnfernandes/docker.github.io,shubheksha/docker.github.io,phiroict/docker,michael-k/docker-compose,mnowster/compose,gdevillele/docker.github.io,mdaue/compose,shin-/docker.github.io,jzwlqx/denverdino.github.io,alexandrev/compose,jeanpralo/compose,michael-k/docker-compose,aduermael/docker.github.io,jzwlqx/denverdino.github.io,dbdd4us/compose,alexisbellido/docker.github.io,JimGalasyn/docker.github.io,BSWANG/denverdino.github.io,thaJeztah/docker.github.io,alexisbellido/docker.github.io,denverdino/docker.github.io,aduermael/docker.github.io,dnephin/compose,troy0820/docker.github.io,GM-Alex/compose,moxiegirl/compose,sanscontext/docker.github.io,docker-zh/docker.github.io,danix800/docker.github.io,LuisBosquez/docker.github.io,thaJeztah/compose,swoopla/compose,gdevillele/docker.github.io,hoogenm/compose,KevinGreene/compose,GM-Alex/compose,troy0820/docker.github.io,bdwill/docker.github.io,mnowster/compose,kojiromike/compose,swoopla/compose,thaJeztah/docker.github.io,twitherspoon/compose,mrfuxi/compose,JimGalasyn/docker.github.io,joeuo/docker.github.io,bdwill/docker.github.io,ChrisChinchilla/compose,TomasTomecek/compose,funkyfuture/docker-compose,rillig/docker.github.io,troy0820/docker.github.io,rillig/docker.github.io,jrabbit/compose,troy0820/docker.github.io,KalleDK/compose,joeuo/docker.github.io,shubheksha/docker.github.io,mrfuxi/compose,joeuo/docker.github.io,andrewgee/compose,andrewgee/compose,shin-/docker.github.io,denverdino/denverdino.github.io,sanscontext/docker.github.io,KevinGreene/compose,LuisBosquez/docker.github.io,jonaseck2/compose,jzwlqx/denverdino.github.io,londoncalling/docker.github.io,docker/docker.github.io,sdurrheimer/compose,TomasTomecek/compose,londoncalling/docker.github.io,joaofnfernandes/docker.github.io,johnstep/docker.github.io,menglingwei/denverdino.github.io,JimGalasyn/docker.github.io,bdwill/docker.github.io,anweiss/docker.github.io,alexisbellido/docker.github.io,docker-zh/docker.github.io,shin-/docker.github.io,LuisBosquez/docker.github.io,rillig/docker.github.io,jrabbit/compose,johnstep/docker.github.io,hoogenm/compose,KalleDK/compose,danix800/docker.github.io,BSWANG/denverdino.github.io,menglingwei/denverdino.github.io,docker/docker.github.io,alexisbellido/docker.github.io,LuisBosquez/docker.github.io