get_current_deployment never rises, but can return None