Volocity: remove stacks that do not contain valid files

Fixes #11265.