Automator treating App Packages as folders
Try this AppleScript:

tell application "Finder" to get name of every file of folder (path to applications folder)


Carlos figured this part out himself:

set appsPath to (path to applications folder)
tell application "Finder"


set appList to name of every application file of entire contents of folder appsPath 
    end tell