Fix undefined variable warning

Variable was only used to cleanup the error message (rm path info),
so it didn't really make a difference it was undefined. Not like
the temp directory = /tmp is a secret.

Change-Id: Iefcdd433272c87791b3fb2bfa562f4ee002fc97d