[Core] Check for spaces in path -> spaces are not allowed