Made create_spark_library() function test for existence of files and directories so a non-empty repo can be bootstrapped