Only check for erlang release when copying .app file

This way we avoid the cost of checking it on every command.
When copying the .app file must be enough as we'd change
the Erlang requirement only on new versions.