Return a deploy with that system id or None.

def get_deploy_by_id(self, dep_id):
        """Return a deploy with that system id or None."""

        for elem in self.deploys:
            if elem.id == dep_id:
                return elem
        return None