Fix custom prompt (if obj.to_s raises exception it breakes pry)