Open office home directory detection - more flexible