make index cache when using build command.
fixed a bug that doesn't apply deb files in recipe