Fix installer breaking on empty doc directories of excluded packages.