i wonder whether it's possible to write a pattern that'd also work for empty packages