linux: Also check for schema before init
Make code cleaner