The owner of an emaciated dog who was found hunched over in a cage has been givenĀ a suspended prison sentence and dog ban.