fix imagepath in save_needle

https://progress.opensuse.org/issues/2840