fix pod scheduling retry logic

When pod scheduling fails, the makeDefaultErrorFunc method doesn't properly handle namespaces.  It needs to pull the namespace information before it resets its pod pointer.  This can cause pods to never be scheduled.

@derekwaynecarr @smarterclayton