Fixes #5584: Use a variable for modified-files repository (refs #5581)