def get_undo_pod(module, array):
    """Return Undo Pod or None"""
    try:
        return array.get_pod(module.params['name'] + '.undo-demote', pending_only=True)
    except Exception:
        return None