use a workaround for some cases where .bower.json won't be updated before directory
cleaning