Update check-ecallmgr.rb

Fixed if statement for more accuracy