slightly beautify systemroot check