fix rebuildstaging edge case

commit even when there are no changes
Merge pull request #3433 from dimagi/rebuildstaging-allow-empty

fix rebuildstaging edge case