Fix logic/syntax error checking for child paths of home directory

Fixes #5
0.1.3