Wrong example about Status

The example about getting status of repository is incorrect. So I try to fix it.