Fix NSAMethod not to handle nil method