Creating plot only of img_name is set

Hi Rebecca,

I suggest this tiny change. I ran into problems when running nxrepair while ssh tunnelling to a remove server. Even when omitting cmd line parameter "img_name", it will stil try to create the plots which fails when no X forwarding is set up.

Best wishes,

Ole