Default SPARK_HOME to cwd(); detect missing JIRA credentials.