bugfix and tests for no settings path (no -s option)