Fix bug making the deploy always restart production server only