no buildcache will generate a tags.json file (needs more testing)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
fixed several minor bugs in buildcache...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>