fix error on login if ~/Scripts/local is empty