Fixed error in install_riak_cs of using variable before init.