Fix a bug when an overlay isn't in the remote list

If the overlay isn't in the remote list, we want to continue to the next overlay, which avoids an UnboundLocalError exception on line 437.