Update config.go to handle default slices correctly (fixes #76)

This is a proposition to fix #76, but there is maybe an easier way to do it.