Add defensive codes for broken AppRegistry file

No match.