Stopped being a derp, and changed my check to use system properties.