Apply patch | show diff -> NPE in case of git patch