Simplify _get_last_action

Since we never pass a submission to it.