fix runtime info printing check for remote and local mode