You can't leave it blank, that's just silly. What you could do, though, is eliminate this whole branch and make the user always specify an image as a command line parameter.