allow patches that only contains hook functions

Fixes #357

Signed-off-by: Seth Jennings <sjenning@redhat.com>
Merge pull request #361 from spartacus06/issue-357

allow patches that only contains hook functions