Check presence of each beam listed in .app

This allow to build riak, because one of riak deps (node_package) have stuff
in priv/ and valid node_package.app, but no one .beam files.