Replacing strrchr by basename function (dangerous NULL return) in csps-elphel-recompose