allow patches that only contains hook functions

Fixes #357

Signed-off-by: Seth Jennings <sjenning@redhat.com>