Could I suggest a tiny change? Since the `platform_versions` variable is now unused except in a single debug line, how about moving this line to just before that debug call?