def package_name(artifact):
    """
    Retrieves python package (app) name if denoted with 'PACKAGE' in a project file
    """
    try:
        with open(artifact) as f1:
            f2 = f1.readlines()
        for line in f2:
            if line.startswith('PACKAGE'):
                return line.split(':')[1].strip()
    except Exception:
        return None
