scd: Make option --homedir work.