Remove unneeded whitespaces and fix typo
Calculate absolute path

Make sure that the variable file contents an absolutized path before
_perform_action checks if it is inside a package.

Use case:

  $ cd ~/.config
  $ dotfiles --add foobar
                   ^^^^^^  Absolute path: ~/config/foobar