Throw error when ignore directory isn't found