initialize new repository with a nulladapter for better error handling

#19 

Can't figure out why Travis fails. Any ideas?
same as above