Make ignoring of node dependencies behave as expected