Add handling of preferred-install config in create-project, fixes #1780