Update searchdir function in rospack.m