Fixes saltenv and missing dirs