superdesk: added conditions for backend deploy script - 2