(refs #31)Make it possible to create empty repository.