#276: fixed condition of creating task for regenerate metadata for software center