Using existential operator for userName and repoName values

- TypeError: 'undefined' is not an object (evaluating
  '$(this.options.userNameInput).val().trim') error was coming because
  .preview_user_name and preview_repo_name elements were not present
  on all pages.
- Using existential operator, suppresses this error