Fixed .stage.ignore to work for contents.dirs as well