Fix issue #54 by making sure $HOME is only used when set
Fix issue #54 by making sure $HOME is only used when set

Original issue: https://bugzilla.wikimedia.org/show_bug.cgi?id=62240

AsafMah/phpsh,rhee/phpsh,terrorbox/phpsh,rhee/phpsh,chooaya/phpsh,rjmi004/phpsh,AsafMah/phpsh,chooaya/phpsh,chooaya/phpsh,terrorbox/phpsh,terrorbox/phpsh,facebookarchive/phpsh,facebookarchive/phpsh,rhee/phpsh,rjmi004/phpsh,rjmi004/phpsh,AsafMah/phpsh