Fix repo status change condition and set the fact