Fix NPE on version when running in dev workspace

Signed-off-by: Steven Downer <grinch@outlook.com>