This Fixes #1115 : whitespace in notebook ID

White-space removed from the notebook id entered to load
please indent this to match the surrounding lines, move it after the following if block, and add the same logic for `version` (currently "ba1a31646901c58d397a/7ee7bb69b45a59eb2a01b9db4e760f3b0019f5f3 " fails for the same reason).  thanks!