Properly test for the existence of a root list instead of assuming.