commit package changes only if there are any