Fix problems with packages without any files in BUILD.