fixed nasty bug in how it figured out which thing is deployed
fixed nasty bug in how it figured out which thing is deployed

peterbe/whatsdeployed,peterbe/whatsdeployed,peterbe/whatsdeployed,peterbe/whatsdeployed