Fixed _deb_dir function.