huggingface: add bucket scanning (#5017)