Disabled some menu items for bare repositories. Issue #1896
Auto stash, auto pull disabled for bare repositories. Issue #1896