Check system properties for SELENIUM_IS_LOCAL

In addition to checking the environment variables, check the system properties for SELENIUM_IS_LOCAL.