Wrap whole code path in devtools version check