If nobody knew that the girlfriend was added to the lease -- not the landlord and not the tenants -- then it didn't happen.
If the landlord doesn't object to the dog, then he's not enforcing any provision of the lease that would otherwise prevent the presence of the dog.
Your lease is almost over. I suggest that you create a plan for relocating at the end of your lease term.

