adding checks for non-commited or non-pushed changes when uninstalling roles