Updated to correctly find the home directory of cassandra (up a single directory from the return point)