Support nested packages

Fixes issue jbernard/dotfiles#35