ensures package names end with slash