Settings Dialog should check if current directory is repository

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Drop code that has no effect

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>