Fix tmp_home_dir script

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>