nsc: deploy_code: reduced number of paths which should be flushed