Fix: @patch may be nil.
Merge pull request #1 from giorgian/fix-patch-nil

Fix: @patch may be nil.