fix rebuildstaging edge case

commit even when there are no changes