fix NONE detection in PrintAvailableResolutions

Minor mistake in 9707088.