Deal gracefully with dependencies that do not want to run on a given stage