call completedBlock when url is nil.
Fix build on Xcode6