Fix gsmav: use basename only