goimports: don't attempt to strip out path if it doesn't exist
goimports: don't attempt to strip out path if it doesn't exist

This was causing panics on systems without goimports.

nelsam/gxui_playground,Kvaz1r/vidar,nelsam/vidar