[BUGFIX] Resolves typo in system environment check