You might think that having a credit score in the 500s would keep you from buying a home. But that isn’t always the case.