Update SCM revision number parsing