Fixed small bug in deploy command