scm: catch exception of getting command and version in model (#4273).
If command does not exist, Windows raises exception in shellout(). Linux does not raise exception.
Authored by: tmaruyama 2011-02-19
Parent: [r4881]
Child: [r4883]