Allow different rootdir

Needed to use a different root directory for ie etc/apt/sources.list.