Bug 976967 - sdk/system module issue: architecture and compiler return invalid values

- fixed deliminator to dash
- handled possible null value
- fixed bug in test/test-system-runtime.js