Fixed home path detection