controller: Fix deployments with zero processes.
controller: Fix deployments with zero processes.

We were checking that map length was 0, when we could have a key
that is set to zero (and then len(map) != 0). Count all of the
processes instead.

Signed-off-by: Blaž Hrastnik <e26a9cc74a1e4715764aa09d1071b1ef182b1807@gmail.com>

jzila/flynn,felixrieseberg/flynn,jzila/flynn,justintung/flynn,TribeMedia/flynn,jzila/flynn,justintung/flynn,whouses/flynn,arekkas/flynn,Brandywine2161/flynn,tonicbupt/flynn,philiplb/flynn,TribeMedia/flynn,justintung/flynn,josephglanville/flynn,ozum/flynn,ozum/flynn,pkdevbox/flynn,philiplb/flynn,jzila/flynn,felixrieseberg/flynn,rikur/flynn,whouses/flynn,philiplb/flynn,kgrz/flynn,Brandywine2161/flynn,tonicbupt/flynn,pkdevbox/flynn,benbjohnson/flynn,flynn/flynn,shads196770/flynn,schatt/flynn,technosophos/flynn,felixrieseberg/flynn,clifff/flynn,Brandywine2161/flynn,pkdevbox/flynn,flynn/flynn,lmars/flynn,GrimDerp/flynn,supermario/flynn,clifff/flynn,pkdevbox/flynn,lmars/flynn,rikur/flynn,GrimDerp/flynn,technosophos/flynn,philiplb/flynn,flynn/flynn,schatt/flynn,clifff/flynn,flynn/flynn,arekkas/flynn,shads196770/flynn,lmars/flynn,rikur/flynn,TribeMedia/flynn,schatt/flynn,kgrz/flynn,josephglanville/flynn,shads196770/flynn,kgrz/flynn,josephglanville/flynn,whouses/flynn,GrimDerp/flynn,philiplb/flynn,TribeMedia/flynn,kgrz/flynn,flynn/flynn,pkdevbox/flynn,justintung/flynn,arekkas/flynn,ozum/flynn,kgrz/flynn,benbjohnson/flynn,tonicbupt/flynn,TribeMedia/flynn,pkdevbox/flynn,benbjohnson/flynn,tonicbupt/flynn,supermario/flynn,clifff/flynn,supermario/flynn,felixrieseberg/flynn,lmars/flynn,benbjohnson/flynn,josephglanville/flynn,whouses/flynn,benbjohnson/flynn,justintung/flynn,jzila/flynn,tonicbupt/flynn,arekkas/flynn,schatt/flynn,TribeMedia/flynn,whouses/flynn,rikur/flynn,schatt/flynn,whouses/flynn,jzila/flynn,schatt/flynn,supermario/flynn,josephglanville/flynn,clifff/flynn,Brandywine2161/flynn,technosophos/flynn,GrimDerp/flynn,rikur/flynn,supermario/flynn,lmars/flynn,Brandywine2161/flynn,ozum/flynn,shads196770/flynn,clifff/flynn,kgrz/flynn,supermario/flynn,technosophos/flynn,ozum/flynn,GrimDerp/flynn,rikur/flynn,justintung/flynn,benbjohnson/flynn,technosophos/flynn,ozum/flynn,GrimDerp/flynn,Brandywine2161/flynn,shads196770/flynn,felixrieseberg/flynn,arekkas/flynn,josephglanville/flynn,shads196770/flynn