allow defaultType to be set also when settings are stored in p.a.registry. create _getSiteProperties for reducing duplicate code. should make build green again